package cn.psvmc.cxzapi.mapper.store;

import cn.psvmc.cxzapi.config.mybatisplus.mapper.MyBaseMapper;
import cn.psvmc.cxzapi.model.store.TStoreDetail;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 商家详情表 Mapper 接口
 * @Author auto
 * @Date 2024-08-14
 */
public interface TStoreDetailMapper extends MyBaseMapper<TStoreDetail> {
    //根据商家id获取商家详情
    Map<String, Object> findByStoreId(@Param("storeid") Integer storeid);

    //根据商家id获取商家服务信息
    Map<String, Object> getService(@Param("storeId") Integer storeId);

    //更新商家服务信息
    void editService(@Param("detail") TStoreDetail detail);

    //更新签章图片
    void updateStoreSeal(@Param("storeid") Integer storeid, @Param("storeSeal") String storeSeal);
}
